﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.AuditField;

namespace T.Materials.Domain.Model
{
    /// <summary>
    /// 物资审批表
    /// </summary>
    [Table("MApproval")]
    public class MApproval : AuditFields
    {
        /// <summary>
        /// 审批表ID
        /// </summary>
        [Key]
        public int MpprovalRecordId { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 审批结果
        /// </summary>
        public string? ApprovalResult { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? ApprovalNotes { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>
        public string? Approver { get; set; }
        /// <summary>
        /// 物资
        /// </summary>
        public int? MaterialStoreId { get; set; }

        /// <summary>
        /// 物资领用ID
        /// </summary>
        public int? MaterialRequisitionId { get; set; }

        /// <summary>
        /// 转批人
        /// </summary>

        public string? Subgrantor { get; set; }
    }
}
